]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ibusManager: Don't use GNOME_SETUP_DISPLAY
authororeo639 <oreo6391@gmail.com>
Fri, 1 Jul 2022 19:16:56 +0000 (12:16 -0700)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 2 Jul 2022 11:04:43 +0000 (11:04 +0000)
GNOME_SETUP_DISPLAY is only necessary when using xwayland on demand,
which is only supported on systemd, in which case you should consider
using the user service provided by ibus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2345>

js/misc/ibusManager.js

index 55c0d308b425c6fb94dc349146a5f28461305b67..c1e73d0083be4037ceaa7f6302b1264d0398ebd0 100644 (file)
@@ -93,12 +93,8 @@ var IBusManager = class {
     _spawn(extraArgs = []) {
         try {
             let cmdLine = ['ibus-daemon', '--panel', 'disable', ...extraArgs];
-            // Forward the right X11 Display for ibus-x11
-            let display = GLib.getenv('GNOME_SETUP_DISPLAY');
             let env = [];
 
-            if (display)
-                env.push('DISPLAY=%s'.format(display));
             GLib.spawn_async(
                 null, cmdLine, env,
                 GLib.SpawnFlags.SEARCH_PATH,